class Dog(object):

    @staticmethod
    def run():
        print("小狗要跑...")

# 通过类名.调用静态方法
Dog.run()

wangcai = Dog()
wangcai.run()
